From: Keir Fraser Date: Thu, 22 Jan 2009 11:07:32 +0000 (+0000) Subject: xend: Fix do_FLR() scope problem. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14014^2~37 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=ea75815bab094d7472019766ec3ed7b3445170b5;p=xen.git xend: Fix do_FLR() scope problem. Signed-off-by: Yosuke Iwamatsu --- diff --git a/tools/python/xen/xend/XendDomain.py b/tools/python/xen/xend/XendDomain.py index d5195c421e..d1bfaa3f43 100644 --- a/tools/python/xen/xend/XendDomain.py +++ b/tools/python/xen/xend/XendDomain.py @@ -423,7 +423,7 @@ class XendDomain: log.exception("Unable to recreate domain") try: xc.domain_pause(domid) - do_FLR(domid) + XendDomainInfo.do_FLR(domid) xc.domain_destroy(domid) except: log.exception("Hard destruction of domain failed: %d" % @@ -1264,7 +1264,7 @@ class XendDomain: else: try: xc.domain_pause(int(domid)) - do_FLR(int(domid)) + XendDomainInfo.do_FLR(int(domid)) val = xc.domain_destroy(int(domid)) except ValueError: raise XendInvalidDomain(domid)